package com.supersit.greensproject.entity;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.io.Serializable;

/**
 * 数据上报
 * Created by cong on 2016/7/20.
 */
@Table(name = "dataupload")
public class DataUpload implements Serializable {
    @Column(name = "id", isId = true)
    private int id;
    @Column(name = "uploadDataId")
    private int uploadDataId;
    @Column(name = "createDate")
    private String createDate;
    @Column(name = "baseName")
    private String baseName;
    @Column(name = "area")
    private int area;
    @Column(name = "baseAddress")
    private String baseAddress;
    @Column(name = "contacts")
    private String contacts;
    @Column(name = "tel")
    private String tel;
    @Column(name = "output")
    private String output;//产量（吨）
    @Column(name = "quarter")
    private String quarter;//季度
    @Column(name = "proportion")
    private String proportion;//面积（吨）
    @Column(name = "estimatedOutput")
    private String estimatedOutput;//预计下季度产量
    @Column(name = "estimatedUploadDate")
    private String estimatedUploadDate;//预计下季度上传时间
    @Column(name = "merchandise")
    private int merchandise;//作为种类 0蔬菜 1肉鸡 2奶牛 3塘鱼 4生猪
    @Column(name = "baseId")
    private int baseId;
    @Column(name = "isDelete")
    private int isDelete;//是否删除（icv1：正常 0：删除）
    @Column(name = "timeStamp")
    private long timeStamp;//时间戳
    @Column(name = "operationsTatus")
    private int operationsTatus;//操作状态(0：删除；icv1：新增；icv2：修改,-1正常)
    @Column(name = "isUpload")
    private int isUpload;//数据是否上传 0上传 1未上传
    @Column(name = "userId")
    private int userId;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public DataUpload() {
        super();
    }

    public int getMerchandise() {
        return merchandise;
    }

    public void setMerchandise(int merchandise) {
        this.merchandise = merchandise;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getBaseName() {
        return baseName;
    }

    public void setBaseName(String baseName) {
        this.baseName = baseName;
    }

    public int getArea() {
        return area;
    }

    public void setArea(int area) {
        this.area = area;
    }

    public String getBaseAddress() {
        return baseAddress;
    }

    public void setBaseAddress(String baseAddress) {
        this.baseAddress = baseAddress;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getOutput() {
        return output;
    }

    public void setOutput(String output) {
        this.output = output;
    }

    public String getQuarter() {
        return quarter;
    }

    public void setQuarter(String quarter) {
        this.quarter = quarter;
    }

    public String getProportion() {
        return proportion;
    }

    public void setProportion(String proportion) {
        this.proportion = proportion;
    }

    public String getEstimatedOutput() {
        return estimatedOutput;
    }

    public void setEstimatedOutput(String estimatedOutput) {
        this.estimatedOutput = estimatedOutput;
    }

    public String getEstimatedUploadDate() {
        return estimatedUploadDate;
    }

    public void setEstimatedUploadDate(String estimatedUploadDate) {
        this.estimatedUploadDate = estimatedUploadDate;
    }

    public int getOperationsTatus() {
        return operationsTatus;
    }

    public void setOperationsTatus(int operationsTatus) {
        this.operationsTatus = operationsTatus;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getBaseId() {
        return baseId;
    }

    public void setBaseId(int baseId) {
        this.baseId = baseId;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public long getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(long timeStamp) {
        this.timeStamp = timeStamp;
    }

    public int getIsUpload() {
        return isUpload;
    }

    public void setIsUpload(int isUpload) {
        this.isUpload = isUpload;
    }

    public int getUploadDataId() {
        return uploadDataId;
    }

    public void setUploadDataId(int uploadDataId) {
        this.uploadDataId = uploadDataId;
    }
}
